.el-dialog {
  padding: 0 !important;
}

.el-dialog__header {
  margin-bottom: 0 !important;
  padding: var(--mag-view-base-padding) !important;
  border-bottom: 1px solid var(--mag-component-border-color);

  .el-dialog__title {
    font-size: var(--mag-view-header-text-size) !important;
    font-weight: var(--mag-view-header-text-weight) !important;
    color: var(--mag-view-header-text-color) !important;
  }
}

.el-dialog__body {
  display: flex;
  flex: 1 !important;
  overflow: auto !important;
  padding: var(--mag-body-base-padding) !important;
}

.el-dialog__footer {
  border-top: 1px solid var(--mag-component-border-color);
  padding: var(--mag-view-base-padding) !important;
}

.mag-icon-dialog__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  .el-button + .el-button {
    margin-left: 8px !important;
  }
}

.is-left-alignment {
  text-align: left !important;
  justify-content: flex-start !important;
}

.is-right-alignment {
  text-align: right !important;
  justify-content: flex-end !important;
}

.is-center-alignment {
  text-align: center !important;
  justify-content: center !important;
}

.mag-icon-flex__vertical {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.mag-icon-flex__vertical.mag-icon-flex__contentful {
  width: 100%;
  flex: 1;
}

.mag-select-icon__list {
  height: 100%;
  overflow: auto;
}

.mag-select-icon__list ul {
}

.mag-select-icon__list li {
  display: inline-block;
  width: 80px;
  height: 80px;
  margin: 5px;
  vertical-align: top;
  transition: all 0.1s;
  border-radius: 4px;
  position: relative;
}

.mag-select-icon__list li span {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  cursor: pointer;
}

.mag-select-icon__list li i {
  width: 100%;
  height: 100%;
  font-size: 26px;
  color: #6d7882;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
}

.mag-select-icon__list li:hover {
  box-shadow: 0 0 1px 4px var(--el-color-primary);
  background: var(--el-color-primary-light-9);
}

.mag-select-icon__list li:hover i {
  color: var(--el-color-primary);
}
